package com.ssmr.demo.entity;

import java.util.List;

public class TRecordUserManyToOne {


    private List<TPurchaseRecord> tPurchaseRecordList;

    @Override
    public String toString() {
        return "TRecordUserManyToOne{" +
                "tPurchaseRecordList=" + tPurchaseRecordList +
                ", idtUser=" + idtUser +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", comment='" + comment + '\'' +
                '}';
    }

    public List<TPurchaseRecord> gettPurchaseRecordList() {
        return tPurchaseRecordList;
    }

    public void settPurchaseRecordList(List<TPurchaseRecord> tPurchaseRecordList) {
        this.tPurchaseRecordList = tPurchaseRecordList;
    }

    public Integer getIdtUser() {
        return idtUser;
    }

    public void setIdtUser(Integer idtUser) {
        this.idtUser = idtUser;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public TRecordUserManyToOne() {

    }

    public TRecordUserManyToOne(List<TPurchaseRecord> tPurchaseRecordList, Integer idtUser, String username, String password, String comment) {

        this.tPurchaseRecordList = tPurchaseRecordList;
        this.idtUser = idtUser;
        this.username = username;
        this.password = password;
        this.comment = comment;
    }

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_user.idt_user
     *
     * @mbg.generated
     */

    private Integer idtUser;


    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_user.username
     *
     * @mbg.generated
     */
    private String username;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_user.password
     *
     * @mbg.generated
     */
    private String password;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_user.comment
     *
     * @mbg.generated
     */
    private String comment;


}
